package com.unitd.base.frame.plugin.db.enums;

import com.unitd.base.frame.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 数据源的数据库类型枚举类(目前一种应用类型下,只支持一种数据库类型)
 *
 * @author hudan
 * @version 1.0
 * @filename DBTypeEnum.java
 * @copyright www.unitd.com
 * @date 2020-07-02
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum DBTypeEnum implements BaseEnum {
    /**
     * 数据库类型枚举值
     */
    MYSQL("MYSQL", "MYSQL"),
    MSSQL_2000("MSSQL_2000", "MSSQL_2005"),
    MSSQL_2005("MSSQL_2005", "MSSQL_2005"),
    POSTGRE_SQL("POSTGRE_SQL", "POSTGRESQL"),
    ;
    private String code;
    private String message;
}
